#include "Geometry.h"
#include "Vector3.h"
#include "Ray.h"

class Plane: public Geometry{

    public:
    void add(float d, Vector3<float> n);
    float intersect(Ray &r);
    Vector3<float> getNormal(Vector3<float> surfacePoint);

    float distance;
    Vector3<float> normal;



    };
